﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RCSP.Common.Configurations
{
    /// <summary>
    /// Property Mappings
    /// </summary>
    public class XmlPropertyMappingConfiguration
    {
        /// <summary>
        /// Entity property name
        /// </summary>
        [System.Xml.Serialization.XmlAttribute]
        public string PropertyName { get; set; }

        /// <summary>
        /// Entity column name
        /// </summary>
        [System.Xml.Serialization.XmlAttribute]
        public string ColumnName { get; set; }

        /// <summary>
        /// Read only mapping
        /// </summary>
        [System.Xml.Serialization.XmlAttribute]
        public bool ReadOnly { get; set; }
    }
}
